﻿using System;

using zijian666.Core.Abstractions;

namespace zijian666.Converts.Abstractions;

/// <summary>
/// 翻译器
/// </summary>
public interface ITranslator : IFeature
{
    /// <summary>
    /// 尝试翻译
    /// </summary>
    bool TryTranslate(IConvertContext context, object? input, out object? translated);
}
